Skip to content

Conversation

@Infernus-WIND
Copy link
Contributor

Fix: BaseMAMEM subjects range excludes the 11th subject

What

This PR fixes the subjects initialization in BaseMAMEM:

  • subjects=list(range(1, 12)) instead of range(1, 11)

Why

The class is documented and intended to have 11 subjects (IDs 1..11).
Using range(1, 11) (Python’s exclusive upper bound) unintentionally
excludes subject 11, causing:

  • Incomplete dataset coverage
  • Potential index/consistency issues for downstream consumers
  • Mismatch with dataset metadata and docstring

How

Single-line change in BaseMAMEM.__init__:

- subjects=list(range(1, 11)),
+ subjects=list(range(1, 12)),

@bruAristimunha
Copy link
Collaborator

hey @Infernus-WIND,

many thanks for the contibutions!

@bruAristimunha bruAristimunha enabled auto-merge (squash) January 8, 2026 11:07
@bruAristimunha bruAristimunha merged commit cac2a75 into NeuroTechX:develop Jan 8, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants